<template>
  <!-- 使用页面头部，在app组件渲染 -->
  <div>
    <van-nav-bar
      title="中外名画赏析"
      left-text="返回"
      left-arrow
      @click-left="onClickLeft"
    />
  </div>
</template>

<script>

export default {
  name: 'Header',
  setup () {
    const onClickLeft = () => history.back()
    return {
      onClickLeft
    }
  }
}
</script>

<style lang="less" scoped>

</style>
